package framework.graphics;

import javax.microedition.khronos.opengles.GL10;

public class FullTexture extends Texture {
	
	public FullTexture(int textureId, int width, int height) {
		this.textureId = textureId;
		this.height = height;
		this.width = width;
		setVertices(new float[] { 
				0, 0, 0, 1, 
	            0, height, 0, 0, 
	            width, height, 1, 0, 
	            width, 0, 1, 1 
	            });
        setIndices(new short[] { 
        		0, 1, 2, 
                2, 3, 0 
                });
	}

	@Override
	public void draw(float deltaTime, GL10 gl, float x, float y) {		
		draw(gl, x, y, 0, 0, 0, 1, 1, 0 ,0);
	}
	
}
